package cn.codeforfun.controller;

import com.jfinal.core.Controller;

/**
 * Created by P0015475 on 2016/7/1.
 */
public class IndexController extends Controller {

    public void index() {
        renderJsp("index.jsp");
    }

    public void list() {
        renderJsp("list.jsp");
    }

    public void save() {
        setAttr("result", 1);
        renderJson();
    }
}
